<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="../common/jspcommon.jsp" %>
<div class="list_title">
   相关酒店产品：共有符合条件的酒店 <em>${pm.totalRecord }</em> 家
</div>
<ul class="com_pt_box h_box clearfix">
<c:forEach items="${pm.list }" var="c">
	<li>
	   	<a href="${c.hyperlink }" target="_blank" class="fl pic"><img src="${c.picture }" style="width: 200px;height: 100px" class="block" /></a>
	       <div class="r_box">
	       	<a href="${c.hyperlink }" target="_blank" class="name">${c.hotelName }</a>
	           <p class="intro">${c.contentText }</p>
	           <p>酒店地址：<i>${c.address }</i></p>
	       </div>
	       <div class="clear"></div>
	</li>
</c:forEach>
</ul>
<div id="page" class="h_page"></div>
<script type="text/javascript">
$("#page").pager({
	pagenumber : '${pm.currentPage}',
	pagecount : '${pm.totalPage}',
	buttonClickCallback : function(page) {

		$("#hotelList").load("hotelList.htm",{name:$("#hotel_name").val(),city:$("#city").val(),page:page});
	}
});
</script>